package com.springboot.demo;

import com.springboot.demo.aop.Fayuge;
import com.springboot.demo.aop.Performer;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

import javax.annotation.Resource;

/*
 *DATE:2025/7/8
 */
@SpringBootTest
public class Aop {
    @Resource
    private Performer performer;
    @Resource
    private Fayuge fayuge;
    @Test
    public void testAop()
    {
        performer.perform();
        System.out.println("-------------------------");
        fayuge.perform();
    }
}
